Release 10.1A: OpenEdge Development:
ADM Reference


widgetIsModified

Returns TRUE if the MODIFIED attribute or its equivalent is set for the object, otherwise FALSE. If the name list contains more than one object, then the function returns TRUE if any of them have changed, otherwise FALSE. If any field in the name list is not found, unknown is returned.

For example, use this function to check if any of multiple values involved in a calculation or expression have been modified.

Location: visual.p

Parameters:

INPUT namelist AS CHARACTER

The name of one or more objects, separated by commas.

Returns: LOGICAL

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsModified("deposit":U) THEN 
assignWidgetValue("status":U, "current":U).  

The following illustrates the use of this method in 4GL code for use with a Web browser:

if (logic.widgetIsModified(‘customerviewv.name’)) 
  logic.assignWidgetValue(‘orderviewv.orderstatus’,’current’); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095